package lekcja4.zad3;

public class Cukierek {
    private String smak;
    private double waga;

    public Cukierek(String smak, double waga) {
        this.smak = smak;
        this.waga = waga;
    }

    @Override
    public String toString() {
        return "Cukierek{" +
                "smak='" + smak + '\'' +
                ", waga=" + waga +
                '}';
    }
}
